package cn.laixueit.pojo.result;

import java.util.List;

public class PageResult<T> {
    private Integer total;// 数据总量
    private List<T> items; //分页数据库

    private Integer totalPage;



    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<T> getItems() {
        return items;
    }

    public void setItems(List<T> items) {
        this.items = items;
    }
}
